class Component:
    def __init__(self, name=None, vol=0, weight=0, factory=None, client=None, truck=None):
        self.vol = vol
        self.weight = weight
        self.factory = factory
        self.client = client
        self.truck = truck
        self.name = name

    def __repr__(self):
        return self.name
